/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package text_based_graphic_adventure;

import java.awt.BorderLayout;
import javax.swing.JFrame;

/**
 *
 * @author Student
 */
class Room {

    private String description;
    private String name;
    private Room east;
    private Room west;
    private Room north;
    private Room south;

    //Publice/private return_type method_name (PARAMS (String t, String l, int i))
    //{
    //body
//}
    Room(String d, String n, Room er, Room wr, Room nr, Room sr) {
        description = d;
        name = n;

    }

    Room() {
    }

    /**
     * @return the description
     */
    public String getDescription() {
        return description;
    }

    /**
     * @param description the description to set
     */
    public void setDescription(String description) {
        this.description = description;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the west
     */
    public Room getWest() {
        return west;
    }

    /**
     * @param west the west to set
     */
    public void setWest(Room west) {
        this.west = west;
    }

    /**
     * @return the north
     */
    public Room getNorth() {
        return north;
    }

    /**
     * @param north the north to set
     */
    public void setNorth(Room north) {
        this.north = north;
    }

    /**
     * @return the south
     */
    public Room getSouth() {
        return south;
    }

    /**
     * @param south the south to set
     */
    public void setSouth(Room south) {
        this.south = south;
    }
}
